home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
misc
/
cvarg101.zip
/
CVARG.DOC
next >
Wrap
Text File
|
1994-12-12
|
3KB
|
75 lines
CVARG V1.01 (c)MicroSource 1994
------------------------------------------------------------------------------
**WARNING**
CVARG 1.0 had a bug which when used in SMART mode, it would throw away any
line that did not contain at least one space. Thus, lines such as labels
or "cls" would not appear in the output file. This release rectifies that
bug.
------------------------------------------------------------------------------
A utility to convert the old style PCPS arguments (all versions up to and
including V7.80), to the new style supported by V7.90 onwards.
CVARG.EXE is a family mode utility which means that it will run under both
DOS and OS/2 in its native mode.
Usage:
cvarg [-d] <infile> [outfile]
where:
-d specifies "DUMB" mode. The default is "SMART"
mode.
infile is mandatory - the file you want to process.
outfile is optional. If outfile is not specified, the
output will be placed into a filename generated
by taking the <infile>, stripping any final
extent it has, and adding the extent ".new"
The Story:
OK, so you have been using a version of PCPS prior to version 7.90 quite
happily and what do I do? I introduce a version called 7.90 which changes
all of the arguments around. How inconsiderate of me!
Well, I apologise to those people who have been inconvenienced, but an
change was needed as the arguments had long ago lost any meaning, and I was
running out.
To make it up to you (I know this is a little late for some of my users) I
have written a rough utility which will help you migrate from an older
version.
CVARG.EXE (or just cvarg to you Unix users) is a utility which is designed
to read through a file and change any old style PCPS arguments to the new 2
character style supported by V7.90 onwards.
It has two modes of operation. The default mode is "SMART" where it will
only modify arguments which are on a line calling pcps or pcpsd. This mode
is useful for DOS batch files, OS/2 cmd files or Unix script files where
you may be calling other utilities in the same file which have arguments
similar to PCPS and you don't want them modified.
For those of you who also want to be able to convert their config and admin
files (pcps.cfg and pcps.adm), CVARG has a "DUMB" mode using the "-d"
argument where it will find any argument in the input file which looks like
an old style PCPS argument and covert it to the new style.
DOS and OS/2 users have it easy as all you have to do is run the .EXE file.
Unix users have to compile the source and you will need an ANSI compiler
such as gcc to do that. Just typing "make cvarg" should work on all
platforms.
So that's about it. I hope this makes life a little easier for someone :-)
Blueskies,
Paul Carapetis, MicroSource.
Internet: P.Carapetis@as03.bull.oz.au